﻿#ifndef UCOLORPICKERDIALOG_H
#define UCOLORPICKERDIALOG_H

#include "udialog.h"

class UColorPickerDialogPrivate;
class UTKWIDGET_EXPORT UColorPickerDialog : public UDialog
{
    Q_OBJECT
public:
    explicit UColorPickerDialog(QWidget* parent = nullptr);
    ~UColorPickerDialog();

    void setColor(const QColor &color);

    QColor color() const;

private:
    QScopedPointer<UColorPickerDialogPrivate> d_ptr;
    Q_DISABLE_COPY(UColorPickerDialog)
    Q_DECLARE_PRIVATE_D(d_ptr, UColorPickerDialog)
};

#endif // UCOLORPICKERDIALOG_H
